package com.aspose.cells;

import java.util.Iterator;

public class CustomGeometry extends Geometry {
   private Shape a;
   private String b;
   private ShapePathCollection c;
   private ShapeGuideCollection d;

   CustomGeometry(Shape shape) {
      this.a = shape;
   }

   boolean a() {
      return true;
   }

   String b() {
      return this.b;
   }

   void a(String var1) {
      this.b = var1;
   }

   ShapePathCollection c() {
      return this.c;
   }

   public ShapePathCollection getPaths() {
      if (this.c == null) {
         this.c = new ShapePathCollection(this.a);
      }

      return this.c;
   }

   ShapeGuideCollection d() {
      return this.d;
   }

   ShapeGuideCollection e() {
      if (this.d == null) {
         this.d = new ShapeGuideCollection();
      }

      return this.d;
   }

   void a(Geometry var1) {
      super.a(var1);
      CustomGeometry var2 = (CustomGeometry)var1;
      if (var2.d != null) {
         this.d = new ShapeGuideCollection();
         Iterator var3 = this.d.iterator();

         while(var3.hasNext()) {
            ShapeGuide var4 = (ShapeGuide)var3.next();
            this.d.a(new ShapeGuide(var4.a(), var4.b()));
         }
      }

      if (var2.c != null) {
         this.c = new ShapePathCollection(this.a);
         this.c.clear();
         this.c.a(var2.c);
      }

   }
}
